.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FC-QUERY" "1" "Aug 13, 2008" "" ""
.SH NAME
fc-query \- query font files
.SH SYNOPSIS
.sp
\fBfc-query\fR [ \fB-Vh\fR ] 

 [ \fB [ -i \fIindex\fB ]  [ --index \fIindex\fB ] \fR ]  [ \fB [ -f \fIformat\fB ]  [ --format \fIformat\fB ] \fR ]  [ \fB--version\fR ]  [ \fB--help\fR ]  \fB\fIfont-file\fB\fR\fI...\fR
.SH "DESCRIPTION"
.PP
\fBfc-query\fR queries
\fIfont-file\fR(s) using the normal fontconfig
rules and prints out font pattern for each face found.
If \fB--index\fR is given, only one face of each file is
queried, otherwise all faces are queried.
.SH "OPTIONS"
.PP
This program follows the usual GNU command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.
.TP
\fB-i\fR
Only query face indexed \fIindex\fR of
each file.
.TP
\fB-f\fR
Format output according to the format specifier
\fIformat\fR\&.
.TP
\fB-V\fR
Show version of the program and exit.
.TP
\fB-h\fR
Show summary of options.
.TP
\fB\fIfont-file\fB\fR
Query \fIfont-file\fR for font faces.
.SH "RETURN CODES"
.PP
\fBfc-query\fR returns error code 0 for successful parsing,
or 1 if any errors occured or if at least one font face could not be opened.
.SH "SEE ALSO"
.PP
\fBfc-scan\fR(1)
\fBFcFreeTypeQuery\fR(3)
\fBFcPatternFormat\fR(3)
\fBfc-cat\fR(1)
\fBfc-cache\fR(1)
\fBfc-list\fR(1)
\fBfc-match\fR(1)
\fBfc-pattern\fR(1)
.PP
The fontconfig user's guide, in HTML format:
\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&.
.SH "AUTHOR"
.PP
This manual page was updated by Behdad Esfahbod <behdad@behdad.org>\&.
